<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script lang="ts">
import { defineComponent, computed } from 'vue';
import { useStore } from "vuex"
export default defineComponent({
  name: 'App',
  components: {
    // ElButton
  },
  setup () {
    const store = useStore()
    const data = computed(() => store.state.name)
    return {
      data
    }
  }
});
</script>

<style lang="less">
</style>
